using System;
using SqlSugar;
using System.Collections.Generic;

namespace ZR.Model.Models
{
    /// <summary>
    /// 认证记录表，数据实体对象
    ///
    /// @author admin
    /// @date 2023-03-06
    /// </summary>
    [SugarTable("veri_record")]
    public class VeriRecord
    {
        /// <summary>
        /// 描述 :主键 
        /// 空值 :false 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = false)]
        public long Id { get; set; }

        /// <summary>
        /// 描述 :认证日期 
        /// 空值 :true 
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 描述 :手机号 
        /// 空值 :true 
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 描述 :姓名 
        /// 空值 :true 
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 描述 :身份证号 
        /// 空值 :true 
        /// </summary>
        public string IdNumber { get; set; }

        /// <summary>
        /// 百度接口返回的json
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 认证方式：0-2要素，1-人脸，2-3要素
        /// </summary>
        public int VeriType { get; set; }

        /// <summary>
        /// 描述 :认证状态：0-错误；1-正确 
        /// 空值 :true 
        /// </summary>
        public bool State { get; set; }

        /// <summary>
        /// 头像地址
        /// </summary>
        public string Avatar { get; set; }
        /// <summary>
        /// 微信openid
        /// </summary>
        public string OpenId { get; set; }
        /// <summary>
        /// 来源方式
        /// </summary>
        public string FromDevice { get; set; }
        /// <summary>
        /// 签名
        /// </summary>
        public string Sign { get; set; }
        public string _id { get; set; }
    }
}